Integrand size = 24, antiderivative size = 97 \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=-\frac {(3 c d-4 b e) x \sqrt {d+e x^2}}{8 e^2}+\frac {c x^3 \sqrt {d+e x^2}}{4 e}+\frac {\left (3 c d^2-4 b d e+8 a e^2\right ) \text {arctanh}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{8 e^{5/2}} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {1173, 396, 223, 212} \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\frac {\text {arctanh}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right ) \left (8 a e^2-4 b d e+3 c d^2\right )}{8 e^{5/2}}-\frac {x \sqrt {d+e x^2} (3 c d-4 b e)}{8 e^2}+\frac {c x^3 \sqrt {d+e x^2}}{4 e} \]
[In]
[Out]
Rule 212
Rule 223
Rule 396
Rule 1173
Rubi steps \begin{align*} \text {integral}& = \frac {c x^3 \sqrt {d+e x^2}}{4 e}+\frac {\int \frac {4 a e-(3 c d-4 b e) x^2}{\sqrt {d+e x^2}} \, dx}{4 e} \\ & = -\frac {(3 c d-4 b e) x \sqrt {d+e x^2}}{8 e^2}+\frac {c x^3 \sqrt {d+e x^2}}{4 e}-\frac {1}{8} \left (-8 a-\frac {d (3 c d-4 b e)}{e^2}\right ) \int \frac {1}{\sqrt {d+e x^2}} \, dx \\ & = -\frac {(3 c d-4 b e) x \sqrt {d+e x^2}}{8 e^2}+\frac {c x^3 \sqrt {d+e x^2}}{4 e}-\frac {1}{8} \left (-8 a-\frac {d (3 c d-4 b e)}{e^2}\right ) \text {Subst}\left (\int \frac {1}{1-e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right ) \\ & = -\frac {(3 c d-4 b e) x \sqrt {d+e x^2}}{8 e^2}+\frac {c x^3 \sqrt {d+e x^2}}{4 e}+\frac {\left (3 c d^2-4 b d e+8 a e^2\right ) \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{8 e^{5/2}} \\ \end{align*}
Time = 0.28 (sec) , antiderivative size = 93, normalized size of antiderivative = 0.96 \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\frac {\sqrt {d+e x^2} \left (-3 c d x+4 b e x+2 c e x^3\right )}{8 e^2}+\frac {\left (3 c d^2-4 b d e+8 a e^2\right ) \text {arctanh}\left (\frac {\sqrt {e} x}{-\sqrt {d}+\sqrt {d+e x^2}}\right )}{4 e^{5/2}} \]
[In]
[Out]
Time = 0.27 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.74
method | result | size |
risch | \(\frac {x \left (2 c \,x^{2} e +4 b e -3 c d \right ) \sqrt {e \,x^{2}+d}}{8 e^{2}}+\frac {\left (8 a \,e^{2}-4 b d e +3 c \,d^{2}\right ) \ln \left (x \sqrt {e}+\sqrt {e \,x^{2}+d}\right )}{8 e^{\frac {5}{2}}}\) | \(72\) |
pseudoelliptic | \(\frac {\left (a \,e^{2}-\frac {1}{2} b d e +\frac {3}{8} c \,d^{2}\right ) \operatorname {arctanh}\left (\frac {\sqrt {e \,x^{2}+d}}{x \sqrt {e}}\right )+\frac {\left (\left (\frac {c \,x^{2}}{2}+b \right ) e^{\frac {3}{2}}-\frac {3 c d \sqrt {e}}{4}\right ) \sqrt {e \,x^{2}+d}\, x}{2}}{e^{\frac {5}{2}}}\) | \(73\) |
default | \(\frac {a \ln \left (x \sqrt {e}+\sqrt {e \,x^{2}+d}\right )}{\sqrt {e}}+c \left (\frac {x^{3} \sqrt {e \,x^{2}+d}}{4 e}-\frac {3 d \left (\frac {x \sqrt {e \,x^{2}+d}}{2 e}-\frac {d \ln \left (x \sqrt {e}+\sqrt {e \,x^{2}+d}\right )}{2 e^{\frac {3}{2}}}\right )}{4 e}\right )+b \left (\frac {x \sqrt {e \,x^{2}+d}}{2 e}-\frac {d \ln \left (x \sqrt {e}+\sqrt {e \,x^{2}+d}\right )}{2 e^{\frac {3}{2}}}\right )\) | \(127\) |
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 174, normalized size of antiderivative = 1.79 \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\left [\frac {{\left (3 \, c d^{2} - 4 \, b d e + 8 \, a e^{2}\right )} \sqrt {e} \log \left (-2 \, e x^{2} - 2 \, \sqrt {e x^{2} + d} \sqrt {e} x - d\right ) + 2 \, {\left (2 \, c e^{2} x^{3} - {\left (3 \, c d e - 4 \, b e^{2}\right )} x\right )} \sqrt {e x^{2} + d}}{16 \, e^{3}}, -\frac {{\left (3 \, c d^{2} - 4 \, b d e + 8 \, a e^{2}\right )} \sqrt {-e} \arctan \left (\frac {\sqrt {-e} x}{\sqrt {e x^{2} + d}}\right ) - {\left (2 \, c e^{2} x^{3} - {\left (3 \, c d e - 4 \, b e^{2}\right )} x\right )} \sqrt {e x^{2} + d}}{8 \, e^{3}}\right ] \]
[In]
[Out]
Time = 0.34 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.18 \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\begin {cases} \left (a - \frac {d \left (b - \frac {3 c d}{4 e}\right )}{2 e}\right ) \left (\begin {cases} \frac {\log {\left (2 \sqrt {e} \sqrt {d + e x^{2}} + 2 e x \right )}}{\sqrt {e}} & \text {for}\: d \neq 0 \\\frac {x \log {\left (x \right )}}{\sqrt {e x^{2}}} & \text {otherwise} \end {cases}\right ) + \sqrt {d + e x^{2}} \left (\frac {c x^{3}}{4 e} + \frac {x \left (b - \frac {3 c d}{4 e}\right )}{2 e}\right ) & \text {for}\: e \neq 0 \\\frac {a x + \frac {b x^{3}}{3} + \frac {c x^{5}}{5}}{\sqrt {d}} & \text {otherwise} \end {cases} \]
[In]
[Out]
Exception generated. \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 81, normalized size of antiderivative = 0.84 \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\frac {1}{8} \, \sqrt {e x^{2} + d} {\left (\frac {2 \, c x^{2}}{e} - \frac {3 \, c d e - 4 \, b e^{2}}{e^{3}}\right )} x - \frac {{\left (3 \, c d^{2} - 4 \, b d e + 8 \, a e^{2}\right )} \log \left ({\left | -\sqrt {e} x + \sqrt {e x^{2} + d} \right |}\right )}{8 \, e^{\frac {5}{2}}} \]
[In]
[Out]
Timed out. \[ \int \frac {a+b x^2+c x^4}{\sqrt {d+e x^2}} \, dx=\int \frac {c\,x^4+b\,x^2+a}{\sqrt {e\,x^2+d}} \,d x \]
[In]
[Out]